package com.yfcloud.middleware.storage.tools;

public class Constant {

    public final static String ALIVE_NODE_HASH = "/com/yfcloud/middleware/storage/poseidon/ALIVE_NODE_HASH";

    public final static  String ZOOKEEPER_ROOT_PATH = "/";

    public final static  String NODE_LAST_UPDATE_TIME = "peseidon_last_update_time";

    public enum NODE_STATUS {

        ALIVE("ALIVE"),

        DEAD("DEAD");

        private String value;

        NODE_STATUS(String value){
            this.value =value;
        }

        public String getValue(){
            return value;
        }
    }
}
